# root:$6$gnUHUOn/PMLbfdE2$4FWU3ncAokFbFBYCz9oBp1JHKAboB4e52/HlAZ6HS3QLwyMRA3z25kttpj8elZhaKnwCl5NH.hg//zTW.UKJo1::0:99999:7:::


hashPassword = '$6$gnUHUOn/PMLbfdE2$4FWU3ncAokFbFBYCz9oBp1JHKAboB4e52/HlAZ6HS3QLwyMRA3z25kttpj8elZhaKnwCl5NH.hg//zTW.UKJo1'

list = hashPassword.rsplit('$', 1)

list1 = list[0].rsplit('$', 1)

hash = list[1]
salt = list1[1]

print(salt)
print(hash)